package com.yxw.yx_hotel.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "UserAccountVO", description = "登录账号详情列表vo")
public class UserCenterInfoVO implements Serializable {

    @ApiModelProperty(value="id")
    private Long userId;

    @ApiModelProperty(value="登录账号")
    private String userNum;

    @ApiModelProperty(value="手机号")
    private String mobilePhone;

    @ApiModelProperty(value="登录密码")
    private String password;

    @ApiModelProperty(value="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("公司全称")
    private String wholeName;

    @ApiModelProperty("头像路径")
    private String picUrl;
}
